package com.eric.service;

import cn.dev33.satoken.util.SaResult;
import com.eric.domain.dto.WarehouseLayoutDTO;
import com.eric.domain.po.WarehouseLayout;
import com.github.yulichang.base.MPJBaseService;

public interface WarehouseLayoutService  extends MPJBaseService<WarehouseLayout> {
    SaResult getAllByPageService(Integer current, Integer pageSize);

    SaResult saveOneService(WarehouseLayoutDTO warehouseLayoutDTO);

    SaResult getByIdService(Integer id);

    SaResult getFirstLevelService();

    SaResult getSecondLevelByPidService(Integer pid);

    SaResult deleteByIdService(Integer id);

    SaResult updateByIdService(WarehouseLayoutDTO warehouseLayoutDTO);

    SaResult getSecondLevelService();

    SaResult getThirdLevelService();

    SaResult getOneByPidService(Integer pid);

    SaResult getByContainerNameService(String containerName);

    SaResult deleteByContainerNameService(String containerName);

    SaResult getAllCountsService();
}
